﻿<%@ Page Language="VB" AutoEventWireup="false" CodeFile="UserPage.aspx.vb" Inherits="_Default" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>User Page</title>
    <style type="text/css">
        .auto-style1 {
            width: 471px;
            text-align: right;
        }
        .auto-style2 {
            text-align: center;
            margin-left: 40px;
        }
        .auto-style3 {
            text-align: right;
            height: 98px;
        }
        .auto-style4 {
            text-align: center;
            height: 148px;
        }
        .auto-style5 {
            text-align: right;
        }
        .auto-style6 {
            text-align: right;
            height: 13px;
        }
        .auto-style7 {
            width: 332px;
            text-align: right;
        }
        .auto-style9 {
            width: 471px;
            text-align: center;
            height: 35px;
        }
        .auto-style10 {
            text-align: center;
            margin-left: 40px;
            height: 35px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div class="auto-style5">
    
    </div>
        <table style="width: 100%; height: 249px;">
            <tr>
                <td class="auto-style6">
                    &nbsp;</td>
                <td class="auto-style6" colspan="6">
                    &nbsp;&nbsp;&nbsp;&nbsp;
                </td>
            </tr>
            <tr>
                <td class="auto-style5">
                    <asp:Image ID="Image1" runat="server" ImageUrl="~/pics/quizzard.png" />
                </td>
                <td class="auto-style5" colspan="4">
                    <asp:Label runat="server" Font-Bold="True" Font-Size="Larger">UserName: </asp:Label>
                    <asp:Label ID="nameLabel" runat="server" Font-Bold="True" Font-Size="Larger"></asp:Label>
                    <asp:Image ID="Image2" runat="server" Height="20px" ImageUrl="~/wizardhat.jpg" Width="20px" />
                    <br />
                    <br />
                    <asp:Button ID="logOutButton" runat="server" Text="Log Out" />
                    <br />
                    <br />
                    <asp:Label ID="errorLabel" runat="server"></asp:Label>
                    <br />
                    <br />
                </td>
                <td class="auto-style4" rowspan="3">
                    <asp:Label runat="server" Text="Quizzes Created:"></asp:Label>
&nbsp;&nbsp;&nbsp;&nbsp;
                    <asp:ListBox ID="quizzesCreatedListBox" runat="server" Width="150px" AutoPostBack="True" DataTextField="Id" DataValueField="Id" style="margin-right: 0px"></asp:ListBox>
                    <br />
                    <br />
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    <br />
                    <br />
&nbsp;&nbsp;&nbsp;&nbsp;
                    </td>
                <td class="auto-style4" rowspan="3">
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="auto-style5">
                    &nbsp;</td>
                <td class="auto-style5">
                </td>
                <td class="auto-style5">
                </td>
                <td class="auto-style7">
                </td>
                <td class="auto-style5">
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="auto-style3">
                    &nbsp;</td>
                <td class="auto-style3" colspan="4">
                    <br />
                    <br />
                </td>
            </tr>
            <tr>
                <td class="auto-style9">
                    &nbsp;</td>
                <td class="auto-style9" colspan="4">
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    <asp:Button ID="createQuizButton" runat="server" Text="Create New Quiz" style="height: 26px" PostBackUrl="~/CreateQuiz.aspx" />
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:Button ID="takeQuizButton" runat="server" Text="Take A Quiz" PostBackUrl="~/QuizSelect.aspx" />
                    <br />
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                </td>
                <td class="auto-style10" colspan="2">
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    <asp:Button ID="updateQuiz" runat="server" PostBackUrl="~/CreateQuiz.aspx" Text="Update Selected Quiz" />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    <asp:Button ID="deleteQuizPopUp" runat="server" Text="Delete Selected Quiz" />
                    <br />
                    <br />
                </td>
            </tr>
            <tr>
                <td class="auto-style1">
                    &nbsp;</td>
                <td class="auto-style1" colspan="4">
                    &nbsp;</td>
                <td class="auto-style2" colspan="2">
                    <asp:Button ID="deleteQuizButton" runat="server" Text="Are You Sure You Want To Delete The Selected Quiz?" Visible="False" />
                </td>
            </tr>
        </table>
        <p>
                    &nbsp;</p>
        <asp:HiddenField ID="userNameHiddenField" runat="server" />
        <asp:HiddenField ID="userIDHiddenField" runat="server" />
        <asp:HiddenField ID="quizHiddenField" runat="server" />
        <asp:HiddenField ID="titleHiddenField" runat="server" />
        <asp:HiddenField ID="quizIDHiddenField" runat="server" />
        <p>
                    &nbsp;</p>
        <p>
                    &nbsp;</p>
        <p>
                    &nbsp;</p>
                    <p>
                        &nbsp;</p>
        <p>
            &nbsp;</p>
    </form>
</body>
</html>
